<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<html>
			<head>
				<meta charset="utf-8">
				<title></title>
		
				<script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
				
			</head>
			<body>
				<div id="app">
					{{message}}<br />
					
					姓名:{{name}} 年龄:{{age}}<br />
					
					明年年龄:{{age+1}}<br />
					
					是否成年: {{age>=18?"成年":"未成年"}}<br />
				</div>
				<script>
					var app = Vue.createApp({
						data() {
							return {
								"message": "一起学习Vue!",
								"name":"张三",
								"age":18
							}
						}
					});
					var vm = app.mount("#app")
				</script>
		
		
		
			</body>
		</html>
	</body>
</html>